module.exports = {
    redis: {
        db: {
            host: "localhost",
            port: 6379,
        },
        nameSpace: "fileDownloadNode"
    },
    db: {
        username: "root",
        password: "root",
        dbname: "filemanagement",
        options: {
            host: 'localhost',
            dialect: 'mysql',
            logging: false,
            timezone: '+08:00',
            pool: {
                max: 5,
                min: 0,
                idle: 10000
            },
            dialectOptions: {
                dateStrings: true,
                typeCast: true
            }
        }
    },
    jwtConfig: {
        jwtSecret: "fileUpload-zz",//密钥
        whiteList: [
            '/api/user/login',
            '/api/user/roles',
            "/api/file/downloadFile"
        ],//不进行jwt验证的白名单
    },
    prot: 3000
}